package com.papers.juan.domain.vo;

import com.alibaba.excel.annotation.ExcelIgnoreUnannotated;
import com.alibaba.excel.annotation.ExcelProperty;
import com.papers.common.convert.ExcelDictConvert;
import lombok.Data;

import java.util.Date;


/**
 * 组卷明细视图对象 t_juan_generate_detail
 *
 * @author papers
 * @date 2022-11-02
 */
@Data
@ExcelIgnoreUnannotated
public class TJuanGenerateDetailVo {

    private static final long serialVersionUID = 1L;

    /**
     * 组卷明细ID
     */
    @ExcelProperty(value = "组卷明细ID")
    private String detailId;

    /**
     * 组卷ID
     */
    @ExcelProperty(value = "组卷ID")
    private String generateId;

    /**
     * 题型
     */
    @ExcelProperty(value = "题型", converter = ExcelDictConvert.class)
//    @ExcelDictFormat(readConverterExp = "1=单选题/2多选题/3填空题/4判断题/5解答题")
    private String questionType;

    /**
     * 题目难度
     */
    @ExcelProperty(value = "题目难度", converter = ExcelDictConvert.class)
//    @ExcelDictFormat(readConverterExp = "1=简单/2较易/3普通/4较难/5困难")
    private String questionEasy;

    /**
     * 题目分数
     */
    @ExcelProperty(value = "题目分数")
    private Integer questionScore;

    /**
     * 题数
     */
    @ExcelProperty(value = "题数")
    private Integer questionNum;

    /**
     * 创建人
     */
    @ExcelProperty(value = "创建人")
    private String createdBy;

    /**
     * 创建时间
     */
    @ExcelProperty(value = "创建时间")
    private Date createdTime;


}
